﻿using IntelligentAgriculture.Contracts.Dto.Output;
using IntelligentAgriculture.Domain.Entity;
using MediatR;

namespace IntelligentAgriculture.WebAPI.Application.Command.PermissionCommand
{
    public class RolePermissionCommand : IRequest<Results<List<Permission>>>
    {
        public int RoleId { get; set; }
        /// <summary>
        /// 构造函数赋值
        /// </summary>
        /// <param name="roleId">角色Id</param>
        public RolePermissionCommand(int roleId)
        {
            RoleId = roleId;
        }
    }
}